package press.dapeng.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import press.dapeng.dao.ItemMapper;
import press.dapeng.domain.Item;
import press.dapeng.service.itemService;

/**
 * @author dapeng
 * @create 2020-09-23 16:11
 */
@Service
@Transactional
public class itemServiceImpl implements itemService {

    @Autowired
    private ItemMapper itemMapper;


    public Item findById(int id) {
        return itemMapper.findById(id);
    }
}
